package com.framework.admin.mapper;

import com.framework.admin.domain.param.SysCompanyParam;
import com.framework.admin.domain.vo.SysCompanyVo;
import com.framework.admin.model.SysCompany;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;


/**
 * @description: 公司表 Mapper
 * @author: lusy
 * @version: 1.0
 * @date: 2021-03-05 10:59:15
 */

@Mapper
public interface SysCompanyMapper {
    Page<SysCompanyVo> listPage(@Param("param") SysCompanyParam param, PageRequest pageRequest);

	SysCompany findByUserId(@Param("userId") String userId);
}
